import { useRenderIcon } from "@/components/ReIcon/src/hooks";
import Collection from "@iconify-icons/ep/collection";

const Layout = () => import("@/layout/index.vue");

export default {
  path: "/Test001",
  name: "Test001",
  component: Layout,
  redirect: "/Test001",
  meta: {
    icon: useRenderIcon(Collection),
    title: "测试模块",
    permissions: ["Test001"],
    rank: 0
  },
  children: [
    {
      path: "/system/Testtable",
      name: "system_Testtable",

      meta: {
        title: "测试增删改查",
        showParent: true,
        permissions: ["Test001.TesttableService"]
      },
      component: () => import("@/views/system/Testtable/index.vue")
    }
    // ,
    // {
    //   path: "/workflow/definition",
    //   name: "workflow_definition22",
    //   meta: {
    //     title: "流程模板",
    //     permissions: ["workflow.definition"]
    //   },
    //   component: () => import("@/views/workflow/definition/index.vue")
    // }
  ]
} as RouteConfigsTable;
